﻿
using SqlSugar;

namespace DADAL
{/// <summary>
 /// 试压数据
 ///</summary>
    [SugarTable("c_test_record")]
    public class TestRecordModel
    {
        /// <summary>
        /// 备  注:记录编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "number", IsPrimaryKey = true)]
        public int Number { get; set; }

        /// <summary>
        /// 备  注:工程编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "project_number")]
        public string ProjectNumber { get; set; } = null!;

        /// <summary>
        /// 备  注:模板编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "template_id")]
        public string TemplateID { get; set; } = null!;

        /// <summary>
        /// 备  注:近端压力
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "local_pressure")]
        public double LocalPressure { get; set; }

        /// <summary>
        /// 备  注:近端介质温度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "local_mediumTemperature")]
        public double LocalMediumTemperature { get; set; }

        /// <summary>
        /// 备  注:近端环境温度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "local_enviromentTemperature")]
        public double LocalEnviromentTemperature { get; set; }

        /// <summary>
        /// 备  注:近端机箱温度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "local_machineTemplature")]
        public double LocalMachineTemplature { get; set; }

        /// <summary>
        /// 备  注:远端压力
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "remote_pressure")]
        public double RemotePressure { get; set; }

        /// <summary>
        /// 备  注:远端介质温度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "remote_mediumTemperature")]
        public double RemoteMediumTemperature { get; set; }

        /// <summary>
        /// 备  注:远端机箱温度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "remote_machineTemplature")]
        public double RemoteMachineTemplature { get; set; }

        /// <summary>
        /// 备  注:开始时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "start_time")]
        public string StartTime { get; set; } = null!;

        /// <summary>
        /// 备  注:结束时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "end_time")]
        public string EndTime { get; set; } = null!;

        /// <summary>
        /// 备  注:累计时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "total_time")]
        public string TotalTime { get; set; } = null!;

        /// <summary>
        /// 备  注:试压结果
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "result")]
        public double Result { get; set; }
    }
}
